<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="__STATIC__/layuimini/lib/layui-v2.6.3/css/layui.css" media="all">
    <title>Title</title>
</head>
<!--导航栏的style-->
<style>
    .main{
        height: calc( 100vh );
        display: flex;
        float: left;
    }
    .ulleft{
        height: 100%;
    }
    .logOff{
        position: fixed;
        bottom: -186px;
    }
</style>
<!--本页style-->
<style>
    .ssss{
        width: auto;
        position: fixed;
        top: 90px;
        left: 225px;
        z-index: 10;
    }
    .ttt{
        position: fixed;
        top: 150px;
        left: 225px;
        z-index: 2;
    }
    #ii{
        position: fixed;
        left: 200px;
        top: 0px;
    }

</style>
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<script src="__STATIC__/layuimini/lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
<script src="__STATIC__/layuimini/lib/jquery-3.4.1/jquery-3.4.1.min.js" charset="utf-8"></script>

<body>
    <img id="ii" src="../../../static/img/捕获.JPG" alt="">
    <!--导航栏   -->
    <div class="main"  style="width: auto;">
        <ul  id="test" class="ulleft  layui-nav layui-nav-tree" lay-filter="test">
            <!-- 侧边导航: <ul class="layui-nav layui-nav-tree layui-nav-side"> -->
            <li class="layui-nav-item"><a href="http://cmf.yeeyeeyjy.top/lunwen/teacher_home">毕业设计管理系统</a></li>
            <li class="layui-nav-item"><a href="">用户：{$Think.session.teacher_name}</a></li>
            <li class="layui-nav-item"><a href=""></a></li>
            <li class="layui-nav-item"><a href="http://cmf.yeeyeeyjy.top/lunwen/teacher_examine_title" >审批课题</a></li>
            <li class="layui-nav-item"><a href="http://cmf.yeeyeeyjy.top/lunwen/teacher_apply_best">优秀毕业论文申请</a></li>
            <li class="layui-nav-item"><a href="http://cmf.yeeyeeyjy.top/lunwen/teacher_check_status">查看申请状态</a></li>
            <li class="layui-nav-item"><a href="http://cmf.yeeyeeyjy.top/lunwen/teacher_show_message">查看留言</a></li>
            <li class="layui-nav-item"><a href="http://cmf.yeeyeeyjy.top/lunwen/teacher_set_grade">外部人员查看文件</a></li>
            <li class="layui-nav-item"><a href="http://cmf.yeeyeeyjy.top/lunwen/teacher_set_grade/markPage">外部人员评分</a></li>
            <li class="layui-nav-item"><a href="http://cmf.yeeyeeyjy.top/lunwen/teacher_set_grade/checkGrade">外部人员查看评分</a></li>
            <li class="logOff layui-nav-item"><a href="http://cmf.yeeyeeyjy.top/lunwen/login/loginOut">注销</a></li>
        </ul>
    </div>
    <!--内容-->
    <div class="ssss">
    <form  class="layui-form" style="width: 300px;">
        <div class="layui-form-item">
            <label class="layui-form-label">状态选择</label>
            <div class="layui-input-block">
                <select  lay-filter="Loadprovince" id="sss" class="ttt" name="modules" lay-verify="required" lay-search="">
                    <option name="option"  value="http://cmf.yeeyeeyjy.top/lunwen/teacher_examine_title/all">全部</option>
                    <option name="option"  value="http://cmf.yeeyeeyjy.top/lunwen/teacher_examine_title/noExamine">未审批</option>
                    <option name="option"  value="http://cmf.yeeyeeyjy.top/lunwen/teacher_examine_title/alreadyExamine">已审批</option>
                </select>
            </div>
        </div>
    </form>
    </div>
    <table class="layui-table ttt">
        <colgroup>
            <col width="150">
            <col width="200">
            <col>
        </colgroup>
        <thead>
        <tr>
            <th>学号</th>
            <th>名称</th>
            <th>毕设标题</th>
            <th>状态</th>
            <th>时间</th>
            <th>审批</th>
            <th></th>
            <th></th>
            <th></th>
            <th></th>

        </tr>
        </thead>

        <tbody>
            <volist name="title" id="vo">
            <tr>
                <td>{$vo['stu_id']}</td>
                <td>{$vo['stu_name']}</td>
                <td>{$vo['stu_title']}</td>
                <td>{$vo['status']}</td>
                <td>{$vo['create_time']}</td>
                <td><a href="http://cmf.yeeyeeyjy.top/lunwen/teacher_examine_title/pass?stu_name={$vo['stu_name']}&&stu_id={$vo['stu_id']}">通过</a></td>
                <td><a href="http://cmf.yeeyeeyjy.top/lunwen/teacher_examine_title/notpass?stu_name={$vo['stu_name']}&&stu_id={$vo['stu_id']}">不通过</a></td>
                <td></td>
                <td></td>
            </tr>
            </volist>
        </tbody>
    </table>
   
    <script>
        var select = document.getElementById('sss');
        var  options = document.getElementsByName("option")

        window.onload = function() {
            console.log(select);
            console.log(options[0].getAttribute("value"));
        };
        //Demo
        layui.use('form', function(){
            form=layui.form;
            form.on('select(Loadprovince)', function(data){
                var val=data.value;
                console.info(val);
                window.location.href =val;
                //注意，注意，注意，这里可以写你自己的原生的PHP\JavaScript\Ajax代码

                form.render('select');
            });
        });

    </script>
</body>
</html>